package com.xilai.cuteBoy.entity;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Map;

/*************************************************************
 * Description: 推送传递参数
 * Author: Ren Binghong
 * CreateTime: 2017/5/24
 * Copyright © 西安喜来快递有限公司 All right reserved
 ************************************************************/
public class PushParam implements Serializable{

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 扩展字段
     */
    private Map<String, String> extras;

    /**
     * 别名,
     * 注册ID,
     * Tag
     */
    private String[] key;

    /**
     * 调用方法
     */
    private Integer method;

    /**
     * 消息ID
     */
    private String messageId;

    @Override
    public String toString() {
        return "PushParam{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", extras=" + extras +
                ", key=" + Arrays.toString(key) +
                ", method=" + method +
                ", messageId=" + messageId +
                '}';
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Map<String, String> getExtras() {
        return extras;
    }

    public void setExtras(Map<String, String> extras) {
        this.extras = extras;
    }

    public String[] getKey() {
        return key;
    }

    public void setKey(String[] key) {
        this.key = key;
    }

    public Integer getMethod() {
        return method;
    }

    public void setMethod(Integer method) {
        this.method = method;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }
}
